def main():
    for number in range(2, 100):
        n = number
        factor = 1
        for i in range(2, n // factor):
            if n % i == 0:
                factor = factor * i
                n = n // i
                break
        else:
            print(number)


if __name__ == '__main__':
    main()
